<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.util.collection.impl.CLCell</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.util.collection.impl.CLCell";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.util.collection.impl.CLCell.html" class="symbol">tango.util.collection.impl.CLCell</a></h1>
  
<dl>
<dt class="decl">class <a class="symbol _class" name="CLCell" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L33" kind="class" beg="33" end="291">CLCell</a><span class="tparams">(T)</span> : Cell!(T); <a title="Permalink to this symbol" href="#CLCell" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L33">#</a></dt>
<dd class="ddef">
<div class="summary">CLCells are cells that are always arranged in circular lists
 They are pure implementation tools</div>
<p class="sec_header">Author:</p>Doug Lea
 @version 0.93
<p class="bl"/>
 <P> For an introduction to this package see <A HREF="index.html"> Overview </A>.
<dl>
<dt class="decl"><a class="symbol _ctor" name="CLCell.this" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L46" kind="ctor" beg="46" end="51">this</a><span class="params">(T <em>v</em>, CLCell <em>p</em>, CLCell <em>n</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#CLCell.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L46">#</a></dt>
<dd class="ddef">
<div class="summary">Make a cell with contents v, previous cell p, next cell n</div></dd>
<dt class="decl"><a class="symbol _ctor" name="CLCell.this:2" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L57" kind="ctor" beg="57" end="62">this</a><span class="params">(T <em>v</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#CLCell.this:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L57">#</a></dt>
<dd class="ddef">
<div class="summary">Make a singular cell</div></dd>
<dt class="decl"><a class="symbol _ctor" name="CLCell.this:3" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L68" kind="ctor" beg="68" end="73">this</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#CLCell.this:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L68">#</a></dt>
<dd class="ddef">
<div class="summary">Make a singular cell with null contents</div></dd>
<dt class="decl">CLCell <a class="symbol _function" name="CLCell.next" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L79" kind="function" beg="79" end="82">next</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.next" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L79">#</a></dt>
<dd class="ddef">
<div class="summary">return next cell</div></dd>
<dt class="decl">void <a class="symbol _function" name="CLCell.next:2" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L88" kind="function" beg="88" end="91">next</a><span class="params">(CLCell <em>n</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.next:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L88">#</a></dt>
<dd class="ddef">
<div class="summary">Set next cell. You probably don't want to call this</div></dd>
<dt class="decl">CLCell <a class="symbol _function" name="CLCell.prev" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L97" kind="function" beg="97" end="100">prev</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.prev" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L97">#</a></dt>
<dd class="ddef">
<div class="summary">return previous cell</div></dd>
<dt class="decl">void <a class="symbol _function" name="CLCell.prev:2" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L105" kind="function" beg="105" end="108">prev</a><span class="params">(CLCell <em>n</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.prev:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L105">#</a></dt>
<dd class="ddef">
<div class="summary">Set previous cell. You probably don't want to call this</div></dd>
<dt class="decl">bool <a class="symbol _function" name="CLCell.isSingleton" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L115" kind="function" beg="115" end="118">isSingleton</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.isSingleton" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L115">#</a></dt>
<dd class="ddef">
<div class="summary">Return true if current cell is the only one on the list</div></dd>
<dt class="decl">void <a class="symbol _function" name="CLCell.addNext" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L135" kind="function" beg="135" end="140">addNext</a><span class="params">(T <em>v</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.addNext" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L135">#</a></dt>
<dd class="ddef">
<div class="summary">Make a cell holding v and link it immediately after current cell</div></dd>
<dt class="decl">CLCell <a class="symbol _function" name="CLCell.addPrev" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L146" kind="function" beg="146" end="153">addPrev</a><span class="params">(T <em>v</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.addPrev" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L146">#</a></dt>
<dd class="ddef">
<div class="summary">make a node holding v, link it before the current cell, and return it</div></dd>
<dt class="decl">void <a class="symbol _function" name="CLCell.linkPrev" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L159" kind="function" beg="159" end="168">linkPrev</a><span class="params">(CLCell <em>p</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.linkPrev" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L159">#</a></dt>
<dd class="ddef">
<div class="summary">link p before current cell</div></dd>
<dt class="decl">int <a class="symbol _function" name="CLCell._length" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L174" kind="function" beg="174" end="183">_length</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell._length" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L174">#</a></dt>
<dd class="ddef">
<div class="summary">return the number of cells in the list</div></dd>
<dt class="decl">CLCell <a class="symbol _function" name="CLCell.find" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L190" kind="function" beg="190" end="199">find</a><span class="params">(T <em>element</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.find" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L190">#</a></dt>
<dd class="ddef">
<div class="summary">return the first cell holding element found in a circular traversal starting
 at current cell, or null if no such</div></dd>
<dt class="decl">int <a class="symbol _function" name="CLCell.count" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L206" kind="function" beg="206" end="216">count</a><span class="params">(T <em>element</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.count" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L206">#</a></dt>
<dd class="ddef">
<div class="summary">return the number of cells holding element found in a circular
 traversal</div></dd>
<dt class="decl">CLCell <a class="symbol _function" name="CLCell.nth" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L222" kind="function" beg="222" end="228">nth</a><span class="params">(int <em>n</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.nth" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L222">#</a></dt>
<dd class="ddef">
<div class="summary">return the nth cell traversed from here. It may wrap around.</div></dd>
<dt class="decl">void <a class="symbol _function" name="CLCell.unlinkNext" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L236" kind="function" beg="236" end="241">unlinkNext</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.unlinkNext" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L236">#</a></dt>
<dd class="ddef">
<div class="summary">Unlink the next cell.
 This has no effect on the list if isSingleton()</div></dd>
<dt class="decl">void <a class="symbol _function" name="CLCell.unlinkPrev" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L248" kind="function" beg="248" end="253">unlinkPrev</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.unlinkPrev" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L248">#</a></dt>
<dd class="ddef">
<div class="summary">Unlink the previous cell.
 This has no effect on the list if isSingleton()</div></dd>
<dt class="decl">void <a class="symbol _function" name="CLCell.unlink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L261" kind="function" beg="261" end="269">unlink</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.unlink" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L261">#</a></dt>
<dd class="ddef">
<div class="summary">Unlink self from list it is in.
 Causes it to be a singleton</div></dd>
<dt class="decl">CLCell <a class="symbol _function" name="CLCell.copyList" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L275" kind="function" beg="275" end="290">copyList</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#CLCell.copyList" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.CLCell.html#L275">#</a></dt>
<dd class="ddef">
<div class="summary">Make a copy of the list and return new head.</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p></p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:10 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>